YAYDP\Helper\YAYDP_Condition_Helper D

Total Complexity 168
Dependencies 3
Dependents 3
Total lines 918
Lines of code 582
Logical lines of code 401
Comment lines 245
Methods 29
Properties 0

Methods 29

Method Rating Maintainability Complexity Lines of code
check_list_conditions()
C
34 28 89
check_order_history_product()
A
44 12 45
check_shipping_region()
A
49 12 27
check_order_history_category()
A
46 10 39
check_combined_items()
A
49 10 31
get_cart_items_match_product()
A
49 10 30
check_customer_order_count_from_last_discount()
A
49 8 31
get_cart_items_match_tag()
A
51 8 26
get_cart_items_match_category()
A
51 8 26
check_bought_products()
A
52 8 24
check_orders_purchased_date()
S
51 7 27
check_payment_method()
S
58 7 13
check_previous_order_in()
S
48 5 33
check_applied_coupons()
S
52 5 25
check_cart_item_regular_price()
S
62 3 11
check_cart_item_category()
S
63 3 10
check_cart_item_tag()
S
63 3 10
get_order_history_available_statuses()
S
64 2 11
check_customer_role()
S
62 2 11
check_customer_order_count()
S
66 2 8
check_specific_customer()
S
68 2 6
check_logged_customer()
S
77 2 3
check_cart_item()
S
68 2 7
check_product_variation()
S
68 2 7
check_cart_quantity()
S
66 2 8
check_cart_subtotal_price()
S
63 2 10
check_cart_total_weight()
S
74 1 4
check_shipping_total()
S
74 1 4
check_conditions()
S
70 1 6